<!DOCTYPE html>
<html>


<!-- Mirrored from /theme/hplus/table_jqgrid.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:02 GMT -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>乡土味士-后台管理中心</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link rel="shortcut icon" href="favicon.ico">
    <link href="__PUBLIC__/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="__PUBLIC__/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <!-- jqgrid-->
    <link href="__PUBLIC__/css/plugins/jqgrid/ui.jqgridffe4.css?0820" rel="stylesheet">

    <link href="__PUBLIC__/css/animate.min.css" rel="stylesheet">
    <link href="__PUBLIC__/css/style.min862f.css?v=4.1.0" rel="stylesheet">

    <style>
        /* Additional style to fix warning dialog position */

        #alertmod_table_list_2 {
            top: 900px !important;
        }
    </style>

</head>

<body class="gray-bg">
<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>乡土味士-后台管理员列表</h5>
                </div>
                <div class="ibox-content">
                    <div class="jqGrid_wrapper">
                        <table id="table_list_1">

                        </table>
                        <div id="pager_list_1">
                            <!--{$page}-->
                        </div>
                    </div>
                    <p>&nbsp;</p>

                </div>
            </div>
        </div>
    </div>
</div>

<script src="__PUBLIC__/js/jquery.min.js?v=2.1.4"></script>
<script src="__PUBLIC__/js/bootstrap.min.js?v=3.3.6"></script>
<script src="__PUBLIC__/js/plugins/peity/jquery.peity.min.js"></script>
<script src="__PUBLIC__/js/plugins/jqgrid/i18n/grid.locale-cnffe4.js?0820"></script>
<script src="__PUBLIC__/js/plugins/jqgrid/jquery.jqGrid.minffe4.js?0820"></script>
<script src="__PUBLIC__/js/content.min.js?v=1.0.0"></script>
<script>
    $(document).ready(function () {
        $.jgrid.defaults.styleUI = "Bootstrap";
        var data = [
            <volist name='list' id='vo'>
                {id:"{$vo.id}",uname:"{$vo.uname}",upwd:"******",logintime:"{$vo['logintime']|date=\"Y-m-d H:i\",###}"},
            </volist>
        ];
        $("#table_list_1").jqGrid({
            data: data,
            datatype: "local",
            height: 250,
            autowidth: true,
            shrinkToFit: true, rowNum: 14, rowList: [10, 20, 30],
            colNames: ["序号", "用户名","密码",  "最近登录时间"],
            colModel: [
                {name: "id", index: "id",sorttype: "int"},
                {name: "uname",editable:true,index: "uname"},
                {name: "upwd",editable:true, index: "upwd"},
                {name: "logintime", index: "logintime", sorttype: "varchar"}
            ],
            pager: "#pager_list_1",
            viewrecords: true,
            caption: "管理员列表",
            add:true,edit:true,addtext:"Add",edittext:"Edit",
            hidegrid:false
        });
        // $("#table_list_1").jqGrid("navGrid","#pager_list_1",{edit:true,add:true,del:true,search:true},{height:200,reloadAfterSubmit:true});
        $(window).bind("resize", function () {
            var width = $(".jqGrid_wrapper").width();
            $("#table_list_1").setGridWidth(width);
        })


    });
</script>

</body>


<!-- Mirrored from /theme/hplus/table_jqgrid.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:02 GMT -->
</html>
